﻿/// *******************************
/// 作者：reazhuang 庄星睿
/// 联系方式：reazhuang@outlook.com
/// 文件说明
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;

namespace BBServer20210601.Pages
{
	public enum DepartTypeEnum
	{
		业务部,

		操作部,

		售后部,

		客服部,

		后勤部

	}

	public class Foo : BasePoco
	{
		[Display(Name = "年龄")]
		public int Age { get; set; }

		[Display(Name = "部门")]
		public DepartTypeEnum? DepartType { get; set; }

		[Display(Name = "可用?")]
		public bool? IsValid { get; set; }

		[Display(Name = "姓名")]
		[Required]
		public string Name { get; set; }

		[Display(Name = "备注")]
		public string Remark { get; set; }
	}
}
